using System;
using System.Collections.Generic;
using System.ByteBuffer;
using tools;

namespace Zjh
{
    /// <summary>
    /// generate by msg tool
    /// 请求确认解散房间
    /// </summary>
	public class ReqConfirmDisbandRoomMsg : ReqMessage
	{
		//0:不同意,非0:同意
		public int yes;

        public ReqConfirmDisbandRoomMsg() { }

        public ReqConfirmDisbandRoomMsg(int yes)
        {
            this.yes = yes;
        }

        
		public void write(object obj)
		{
            ByteBuffer b = obj as ByteBuffer;
			b.PushInt(yes);
			
		}

	    public void read(object obj)
		{
            MyConverter b = obj as MyConverter;
			yes = b.toInt32();
			
		}

		public int Id
		{
            get { return 519103; }
		}

        public String Desc
        {
            get { return "请求确认解散房间"; }
        }
	}
}